From: Keir Fraser Date: Tue, 1 Jun 2010 06:05:22 +0000 (+0100) Subject: xend: PoD check should be for HVM domain only. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12047 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=8567eb4c32baf1f5eab13e9f3ae6240000b78671;p=xen.git xend: PoD check should be for HVM domain only. Signed-off-by: Dongxiao Xu --- diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index e0c539d416..0c01e7779e 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -396,7 +396,7 @@ class XendDomainInfo: maxmem = self.info.get('memory_static_max', 0) memory = self.info.get('memory_dynamic_max', 0) - if maxmem > memory: + if self.info.is_hvm() and maxmem > memory: self.pod_enabled = True else: self.pod_enabled = False